import React from 'react'
import { connect } from 'react-redux'
import { alertDispatch } from '../../utils'
import { ERROR } from '../../components/KAlert/alertTypes'

function User(props) {
    return (
        <div>
            User Page
            <button onClick={() => props.showAlert('拒绝',ERROR)}>user info</button>
        </div>
    )
}


export default connect(null, alertDispatch)(User)
